﻿<%@ Page Title="" Language="C#" AutoEventWireup="false" CodeBehind="PaginatedPageTemplate.aspx.cs" Inherits="$rootnamespace$.Views.Pages.PaginatedPageTemplate" %>

<%@ Register TagPrefix="ow" Namespace="OpenWaves.Web.Controls" Assembly="OpenWaves.Web" %>

<%@ Register src="../../Controls/Pager.ascx" tagname="Pager" tagprefix="x" %>
    
<ow:OptionalContentPlaceHolder runat="server" DataItem="<%# Pagination.CurrentPage%>">
		
	<ow:Repeater runat="server" DataSource="<%# Pagination.CurrentPage.Items %>">
		<Template>
			<ul>
				<ow:ItemsPlaceHolder runat="server" />
			</ul>
		</Template>
		<ItemTemplate>
			<li>
				<%# Eval("PageName") %>
			</li>
		</ItemTemplate>
	</ow:Repeater>

	<x:Pager runat="server" Model="<%# Pagination %>"/>        

</ow:OptionalContentPlaceHolder>
